﻿<UserControl x:Class="USElections.Tiles.CounterFrontTile"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             FontFamily="{StaticResource PhoneFontFamilyNormal}"
             FontSize="{StaticResource PhoneFontSizeNormal}"
             Foreground="{StaticResource PhoneForegroundBrush}"
             d:DesignHeight="173"
             d:DesignWidth="173">
    <Grid x:Name="LayoutRoot"
          Width="173"
          Height="173"
          Background="Black">
        <Grid>
            <Grid.Background>
                <SolidColorBrush Color="{StaticResource PhoneAccentColor}"
                                 Opacity="0.8" />
            </Grid.Background>

            <TextBlock x:Name="daysTxt"
                       Text="261 days"
                       Style="{StaticResource PhoneTextTitle2Style}"
                       HorizontalAlignment="Left"
                       VerticalAlignment="Top" />

            <TextBlock x:Name="hoursTxt"
                       Text="12:00:00"
                       Margin="12, 36, 0, 0"
                       Style="{StaticResource PhoneTextTitle2Style}"
                       HorizontalAlignment="Left"
                       VerticalAlignment="Top" />

            <TextBlock Text="to Election Day Nov 6, 2012"
                       FontFamily="{StaticResource PhoneFontFamilySemiLight}"
                       FontSize="{StaticResource PhoneFontSizeSmall}"
                       Foreground="{StaticResource PhoneForegroundBrush}"
                       Margin="10,0,10,6"
                       HorizontalAlignment="Left"
                       VerticalAlignment="Bottom"
                       TextWrapping="Wrap" />
        </Grid>
    </Grid>
</UserControl>